package cn.chiship.framework.third.biz.all.service;

import cn.chiship.framework.third.biz.all.entity.ThirdApplicationKeyConfig;

/**
 * @author lijian
 */
public interface ThirdCacheService {
    /**
     * 获取配置信息
     *
     * @return
     */
    ThirdApplicationKeyConfig getConfigByAppId();

    /**
     * 获取配置信息
     *
     * @param appId
     * @return
     */
    ThirdApplicationKeyConfig getConfigByAppId(String appId);

    /**
     * 缓存配置
     */
    void cacheConfig();
}
